#!/bin/bash
yum -y install $1 &> /dev/null      #将不需要的信息扔黑洞
systemctl start $1
systemctl enable $1